using System;
using System.Collections.Generic;
using System.Text;

namespace SnarlGMailNotifier.Classes.GMailFeed
{
    public class GMailFeedItem
    {
        private string m_sTitle;
        private string m_sSummary;
        private GMailFeedLink m_gmailLink;
        private DateTime m_datModified;
        private DateTime m_datIssued;
        private string m_sID;
        private GMailAuthor m_gmailAuthor;

        public GMailFeedItem(string title, string summary, GMailFeedLink gmailLink, DateTime modified, DateTime issued, string id, GMailAuthor gmailAuthor)
        {
            this.m_sTitle = title;
            this.m_sSummary = summary;
            this.m_gmailLink = gmailLink;
            this.m_datModified = modified;
            this.m_datIssued = issued;
            this.m_sID = id;
            this.m_gmailAuthor = gmailAuthor;
        }

        public string Title
        {
            get { return this.m_sTitle; }
        }

        public string Summary
        {
            get { return this.m_sSummary; }
        }

        public GMailFeedLink Link
        {
            get { return this.m_gmailLink; }
        }

        public DateTime Modified
        {
            get { return this.m_datModified; }
        }

        public DateTime Issued
        {
            get { return this.m_datIssued; }
        }

        public string ID
        {
            get { return this.m_sID; }
        }

        public GMailAuthor Author
        {
            get { return this.m_gmailAuthor; }
        }
    }
}
